package com.usian.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Emp {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String sex;

    private LocalDate birthday;

    private LocalDate entryTime;

    private String education;

    private String addr;

    private String phone;

    private String jname;

    private Integer did;

    private Integer pid;

    private String password;

    @TableField(exist = false)
    private String dname;

    @TableField(exist = false)
    private String pname;

    @TableField(exist = false)
    private Integer grade;

}
